
type FormStyleFontSizeType = 12 | 14 | 16
enum FormStyleFontSizeEnum {
  Twelve = 12,
  Fourteen = 14,
  Sixteen = 16
}

enum FormStyleFontStyleEnum {
  Bold = 'B'
}

interface FormStyleFont {
  // 字体大小
  fontSize: FormStyleFontSizeType;
  // 是否加粗
  isBold: boolean;
}

class FormStyle implements FormStyleFont {
  // 字体大小
  fontSize: FormStyleFontSizeType = FormStyleFontSizeEnum.Twelve
   // 是否加粗
  isBold: boolean = false
  // 颜色
  color: string = ''
}

export {
  FormStyle,
  FormStyleFont,
  FormStyleFontSizeType,
  FormStyleFontSizeEnum,
  FormStyleFontStyleEnum
}

export default FormStyle
